package com.example.passwortmanager;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class PasswordDatabaseHelper extends SQLiteOpenHelper
{

	private static final String TAG = "PasswordDatabaseHelper";
	
	static final int DATABASE_VERSION = 1;
	
	private static final String DATABASE_NAME = "passwordmanager.db";
	
	public interface Tables {
		public static final String PASSWORD = "password";
		public static final String CATEGORY = "category";
	}
	
	public interface PasswordColumns {
		public static final String PASSWORD_ID = "password_id";
		public static final String PUSER = "puser";
		public static final String PASSWORD = "password";
	}
	
	public interface CategoryColumns {
		public static final String CATEGORY_ID = "category_id";
		public static final String CATEGORY_NAME = "category_name";
		
		
	}
	
	public PasswordDatabaseHelper(Context context, String name,
			CursorFactory factory, int version) {
		super(context, name, null, DATABASE_VERSION);
		
	}

	@Override
	public void onCreate(SQLiteDatabase db) {

		db.execSQL("CREATE TABLE " + Tables.CATEGORY * )
		
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub
		
	}
	
	
}